

var Check=function(id)
{
   

    var content;
    content=$('#content').val();

    if($('#content').val()=="")
    {
        alert('请先输入回复内容?');
        $('#content').focus();
        return false;

    }

    $.ajax({
        type: "POST",
        url: "/Admin/index/domessage_replay",
        data: {'content':content,'id':id},
        async:false,
        //dataType: "json",
        success: function(data){
        

            if(data==1)
            {
                alert('回复成功！');
                location.href='/Admin/index/message.html';
            }


        }
    })

  return false;

}

var back=function()
{
    history.go(-1);
}
